local skel = fk.CreateSkill {
  name = "hunting_skill",
}

skel:addEffect("cardskill", {
  prompt = "#hunting_skill",
  target_num = 1,
  mod_target_filter = Util.TrueFunc,
  target_filter = Util.CardTargetFilter,
  on_effect = function(self, room, effect)
    local to = effect.to
    if to.dead then return end
    room:addSkill("#hunting_trigger")
    room:addPlayerMark(to, "@!!hunting", 3)
  end,
})

Fk:loadTranslationTable{
  ["@!!hunting"] = "狩猎",
  [":@!!hunting"] = "每对该角色造成1点伤害，移去1个此标记，摸一张牌",
  ["#hunting_trigger"] = "狩猎",
  ["#hunting_skill"] = "标记一名角色，其受到伤害时，令伤害来源摸牌",
}

return skel
